package com.human.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jzq
 * @since 2023-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Contract implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 合同编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 工号
     */
    @TableField("workID")
    private Integer workID;

    /**
     * 合同期限
     */
    @TableField("contractTerm")
    private String contractTerm;

    /**
     * 合同起始日期
     */
    @TableField("beginContract")
    private String beginContract;

    /**
     * 合同终止日期
     */
    @TableField("endContract")
    private String endContract;

    /**
     * 合同内容
     */
    @TableField("contractContent")
    private String contractContent;

    @TableField(exist = false)
    private Emp emp;


}
